{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>店铺详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">店铺名字：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled name="store_name" value="{$banner.store_name}" lay-verify="required" placeholder="店铺名字" class="layui-input">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">缩略图：</label>
                            <input type="hidden" name="store_image" id="lay-img" lay-verify="image" value="{$banner.store_image}">
                            <div class="layui-input-block">
                                <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                                    <div class="layui-upload-list" id="lay-list">
                                        <img class="layui-append-img" src="{$banner.store_image}" onerror="this.src='/static/admin/images/no_img.jpg'">
                                    </div>
                                </blockquote>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">店铺所在市：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled name="store_address" value="{$banner.district}" lay-verify="required" placeholder="店铺地址" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">店铺地址：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled name="store_address" value="{$banner.store_address}" lay-verify="required" placeholder="店铺地址" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">店主姓名：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled name="store_username" value="{$banner.store_username}" lay-verify="required" placeholder="店主姓名" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">店主手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled name="store_phone" value="{$banner.store_phone}" lay-verify="required" placeholder="店主手机号" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">所属经销商：</label>
                            <div class="layui-input-block">
                                {if $banner.store_level == 0}
                                <input type="text" disabled name="store_phone" value="管理员" lay-verify="required" class="layui-input">
                                {/if}
                                {if $banner.store_level == 1}
                                <input type="text" disabled name="store_phone" value="一级经销商" lay-verify="required" class="layui-input">
                                {/if}
                                {if $banner.store_level == 2}
                                <input type="text" disabled name="store_phone" value="二级经销商" lay-verify="required" class="layui-input">
                                {/if}
                                {if $banner.store_level == 3}
                                <input type="text" disabled name="store_phone" value="三级经销商" lay-verify="required" class="layui-input">
                                {/if}
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">创建时间：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled name="store_phone" value="{$banner.store_time}" lay-verify="required" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>
    //
//    var editor = wk.wang({elem:'#LAY_editor'});
</script>

</body>
</html>
